<template>
  <div class="header">
    <div class="left">
        <div class="line"></div>
        <span>{{ title }}</span>
    </div>
    <div class="right">更多</div>
  </div>
</template>

<script>
// 公共头部

export default {
  name: 'Header',
  props: {
    title: String
  },
  setup(props, context){
    
  }
}
</script>

<style lang="scss" scoped>
.header {
    width: 34.5rem;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.3rem 0 2rem 0;
    .right {
        font-size: 1.2rem;
        font-weight: 400;
        color: #9D9E9F;
    }
    .left{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        font-weight: 600;
        font-size: 1.2rem;
        .line{
            width: .5rem;
            height: 1rem;
            background: #045DF0;
            border-radius: .3rem;
            margin-right: .3rem;
        }   
    }
}
</style>
